onSuccess: Maybe be executed before the function returns (on sync platforms).
onError: Error is reserved for when the file exists but can't be read. Not being able to read because it doesn't exists is not an error.
- Sync Platforms: File does not exists, can't read. - Async platforms: File does not exists
See Implementation
onSuccess: Maybe be executed before the function returns (on sync platforms).
onError: Error is reserved for when the file exists but can't be read. Not being able to read because it doesn't exists is not an error.